package com.IC.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActualPopulationVO {

    //主键id
    private Integer id;

    //姓名
    private String name;

    //性别 0男 1女
    private Integer sex;

    //电话号码
    private String phone;

    //人员类型 0户籍人员 1外来人员 2境外人员
    private Integer type;

    //人脸照片
    private String pic;

    //小区地址
    private Integer plotId;

    //最后出现的时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastTime;

    //证件号
    private Long idNumber;

    //迁移状态 0 已迁入 1已迁出
    private Integer transfer;

    //出生日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birthday;

    //民族id
    private Integer nationId;

    //户籍地址
    private String domicileAddress;

    //民族
    private String nationName;

    //小区名称
    private String plotName;

    //栋
    private String buildingName;
    //单元楼
    private String apartmentName;
    //房间号
    private String tenementName;

    //栋
    private Long building;

    //单元
    private Long apartment;

    //房屋id
    private Long tenementId;

    //身份标签（实有力量）
    private String populationTagName;

    //身份标签id
    private List<Integer> populationTagId;

    private String populationTagIds;

    //行政区划id
    private Long divisionId;

    //行政区
    private String divisionName;

}
